package com.smarthospital.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * create by sym  2021/5/2 2:05.
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description="预订单返回值封装" )
public class PrePayOderDTO {
    @ApiModelProperty(value = "时间戳")
    private String timeStamp;
    @ApiModelProperty(value = "统一下单接口返回的 prepay_id 参数值，提交格式如：prepay_id=***")
    private String prepayId;
    @ApiModelProperty(value = "随机字符串，长度为32个字符以下")
    private String nonceStr;
    @ApiModelProperty(value = "签名算法，应与后台下单时的值一致  固定为:RSA")
    private String signType;
    @ApiModelProperty(value = "签名，具体见微信支付文档")
    private String paySign;
    @ApiModelProperty(value = "接口调用成功的回调函数")
    private String success;
    @ApiModelProperty(value = "接口调用失败的回调函数")
    private String fail;
    @ApiModelProperty(value = "接口调用结束的回调函数（调用成功、失败都会执行)")
    private String complete;
}
